package com.cn.bukeManage.utils.cacheUtils;

import redis.clients.jedis.Jedis;

public class CacheTest {
	public static void main(String[] args) {
	    Jedis redis = new Jedis("localhost", 6379);// 连接redis
	    // String
	    redis.del("user");
	    redis.set("test1", "哈哈");
	    redis.set("test1", "哈哈2");
	             
	    System.out.println("看看那="+redis.get("test1"));
	}
}
